package com.ruoyi.archive.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.archive.domain.SDisabledMilitiaman;

/**
 * 伤残民兵民工信息Mapper接口
 *
 * @author Allen
 * @date 2021-09-30
 */
public interface SDisabledMilitiamanMapper extends BaseMapper<SDisabledMilitiaman> {
    /**
     * 查询伤残民兵民工信息
     *
     * @param id
     *         伤残民兵民工信息主键
     *
     * @return 伤残民兵民工信息
     */
    public SDisabledMilitiaman selectSDisabledMilitiamanById(Long id);

    /**
     * 查询伤残民兵民工信息列表
     *
     * @param sDisabledMilitiaman
     *         伤残民兵民工信息
     *
     * @return 伤残民兵民工信息集合
     */
    public List<SDisabledMilitiaman> selectSDisabledMilitiamanList(SDisabledMilitiaman sDisabledMilitiaman);

    /**
     * 新增伤残民兵民工信息
     *
     * @param sDisabledMilitiaman
     *         伤残民兵民工信息
     *
     * @return 结果
     */
    public int insertSDisabledMilitiaman(SDisabledMilitiaman sDisabledMilitiaman);

    /**
     * 修改伤残民兵民工信息
     *
     * @param sDisabledMilitiaman
     *         伤残民兵民工信息
     *
     * @return 结果
     */
    public int updateSDisabledMilitiaman(SDisabledMilitiaman sDisabledMilitiaman);

    /**
     * 删除伤残民兵民工信息
     *
     * @param id
     *         伤残民兵民工信息主键
     *
     * @return 结果
     */
    public int deleteSDisabledMilitiamanById(Long id);

    /**
     * 批量删除伤残民兵民工信息
     *
     * @param ids
     *         需要删除的数据主键集合
     *
     * @return 结果
     */
    public int deleteSDisabledMilitiamanByIds(Long[] ids);
}
